﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GzipManagerPro.IO.Helpers
{
    public static class IEnumrable
    {
        public static IEnumerable ForEach(this IEnumerable collection, Action<object> action)
        {
            foreach (var item in collection)
                action(item);

            return collection;
        }
    }
}
